<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="core" %>
<%@ taglib prefix="fmt" uri="fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
		<title>讨论板</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!-- Loading Bootstrap1 -->
    	<link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/css/normalize.css" />
		<link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/css/icons.css" />
		<link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/css/style1.css" />
		<link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/css/style2.css" />
		
        <link href="<%=path%>/page/front/disc/bianji/font-awesome.css" rel="stylesheet">
	 	<script type="text/javascript" src="<%=path%>/page/front/disc/bianji/src/js/libs/jquery-1.10.2.min.js"></script>
		<!-- Loading Bootstrap1 -->
    	<link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/bianji/style.css">
        <link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/bianji/src/js/jquery.notebook.css">
        <link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/bianji/css/default.css" />
        <link rel="stylesheet" type="text/css" href="<%=path%>/page/front/disc/bianji/css/component.css" />
        <script src="<%=path%>/page/front/disc/bianji/js/modernizr.custom.js"></script>
        <script src="<%=path%>/page/front/them/reconnecting-websocket.js"></script>
		
		<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="<%=path%>/page/front/disc/js/html5shiv.js"></script>
	      <script src="<%=path%>/page/front/disc/js/respond.min.js"></script>
	    <![endif]-->
		 <style type="text/css">
	    	#list .nih{
	    		color:#fff;
	    		text-decoration:none;
	    		border:0px;
	    		font-size:16px;
	    	}
	    	#list .nih:hover{
	    		color:#c55500;
	    		text-decoration:none;
	    		background:none;
	    	}
	    	#list p{
	    		font-size:14px;
	    		line-height:20px;
	    	}
	    	#aids{
	    		color:#fff;
	    		font-size:14px;
	    		text-decoration:none;
	    		border:0px;
	    		margin-left:20px;
	    	}
	    	#buttoms{
	    		width:70%;
	    		height:60px;
	    		margin:0 auto;
	    	}
	    	#prep{
	    		width:50px;
	    		height:30px;
	    		float:left;
	    	}
	    	#next{
	    		width:50px;
	    		height:30px;
	    		float:right;
	    	}
	    	#zhong{
	    		width:150px;
	    		margin:0 auto;
	    		color:#fff;
	    		text-align:center;
             	font-family: "楷体","楷体_GB2312";
	    	}
	    	#buttoms a{
	    		width:50px;
	    		height:30px;
             	font-family: "楷体","楷体_GB2312";
	    	}
	    	 #fanhui{
            	width:80px;
            	height:80px;
            	position:fixed;
            	left:50px;
            	bottom:50px;
            }
             #fanhui a{
             	display:block;
             	width:80px;
             	height:80px;
             	color:#fff;
             	text-align:center;
             	line-height:80px;
             	font-size:20px;
             	font-family: "楷体","楷体_GB2312";
             }
             #fanhui a:hover{
             	text-decoration:none;
             }
	    	#tuoxiang{
	    		width:80px;
	    		height:80px;
	    		position:absolute;
	    		top:0px;
	    		right:100px;
	    	}
	    	#tuoxiang img{
	    		width:80px;
	    		width:80px;
            	-webkit-border-radius:80px;
              	-moz-border-radius:80px;
              	border-radius:80px;
	    	}
	    	#top{
	    		width:60%;
	    		height:80px;
	    		margin:0 auto;
	    		color:#fff;
	    		text-align:center;
	    	}
	    	#top a{
	    		display:block;
	    		float:left;
	    		width:80px;
	    		height:50px;
	    		text-align:center;
	    		margin:0px 10px ;
	    		color:#fff;
	    		border:0px;
	    		line-height:50px;
	    	}
	    	#topyes{
	    		width:
	    	}
	    </style>
	</head>
<body> 
	<div id="top">
		<a href="../coll/list.html?a=3&id=${id}">文件</a> 
		<a href="../coll/list.html?a=2&id=${id}">视频</a> 
		<a href="../coll/list.html?a=1&id=${id}">文章</a></div>
	<div class="content">
		<div class="widget-body">
			<div class="widget-main" id="list">
				<c:forEach items="${pages.list}" var="all">
					<div class="row">
						<div class="col-xs-1">
						</div>
						<div class="col-xs-11">
							<blockquote>
								<a href="../fdis/xian/.html" class="nih">${all.infor.inTitle}</a>
								<small  style="color:#fff;font-size:14px;">
									<c:if test="${all.user.uName==null}">贡献者&nbsp;已注销</c:if>
									<c:if test="${all.user.uName!=null}">贡献者&nbsp;${all.user.uName}</c:if>&nbsp;&nbsp;
									<fmt:formatDate value="${all.infor.inTime}" pattern="yyyy-MM-dd HH:mm:ss" />
								</small>
								<small  style="color:#fff;font-size:14px;">
									类型&nbsp;&nbsp;
									<c:if test="${all.infor.inType%100==4}">教育</c:if>
									<c:if test="${all.infor.inType%100==5}">金融</c:if>
									<c:if test="${all.infor.inType%100==6}">信息技术</c:if>
									<c:if test="${all.infor.inType%100==7}">文学</c:if>
									<c:if test="${all.infor.inType%100==8}">历史</c:if>
									<c:if test="${all.infor.inType%100==9}">政治</c:if>
									<c:if test="${all.infor.inType%100==10}">哲学与生活</c:if>
									<c:if test="${all.infor.inType%100==11}">医学</c:if>
									<c:if test="${all.infor.inType%100==12}">美食</c:if>
									<c:if test="${all.infor.inType%100==13}">天文</c:if>
									<c:if test="${all.infor.inType%100==14}">艺术</c:if>
									<c:if test="${all.infor.inType%100==15}">其他</c:if>
								</small>
							</blockquote>
							<div id="tuoxiang">
								<img src="../page/upload/images/<c:if test="${all.user.image.imLoclhost==null}">123456.jpg</c:if>
								<c:if test="${all.user.image.imLoclhost!=null}">${all.user.image.imLoclhost}</c:if>"/>
							</div>
						</div>
					</div>
				</c:forEach>
			</div>
		</div>
	</div>
	<div id="buttoms">
		<c:if test="${pages.pageNum!=1}">
			<div id="prep"><a href="../coll/list.html?a=${a}&p=${pages.pageNum-1}">上一页</a></div>
		</c:if>
		<div id="zhong">当前 ${pages.pageNum} / ${pages.pageCount}</div>
		<c:if test="${pages.pageNum<pages.pageCount}">
			<div id="next"><a href="../coll/list.html?a=${a}&p=${pages.pageNum+1}">下一页</a></div>
		</c:if>
	</div>
	<div id="fanhui">
		<a href="javascript:void(0);" onclick="history.go(-1);">返回</a>
	</div>
	<script src="<%=path%>/page/front/disc/js/jquery-1.8.3.min.js"></script>
   	<script src="<%=path%>/page/front/disc/js/bootstrap.min.js"></script>
	
	</body>
</html>  